home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _21CCD6D79AB2444C9E5E02DFB809AA96 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.4 KB  |  130 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2.  
  3. Materials["mat_wood_sheet_p"] = {
  4.  
  5.     type="mat_wood_sheet_p",
  6.  
  7. -------------------------------------
  8.     PhysicsSounds=PhysicsSoundsTable.Hard,
  9. -------------------------------------    
  10.     bullet_drop_single = CommonEffects.common_bullet_drop_single_wood,
  11.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_wood,
  12. -------------------------------------    
  13.     bullet_hit = {
  14.         sounds = {
  15.             {"Sounds/Bullethits/Wsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  16.             {"Sounds/Bullethits/Wsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  17.             {"Sounds/Bullethits/Wsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  18.             {"Sounds/Bullethits/Wsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  19.         },
  20.         
  21.         decal = { 
  22.             texture = System:LoadTexture("Textures/Decal/wood.dds"),
  23.             scale = 0.04,
  24.         },
  25.         particleEffects = {
  26.             name = "bullet.hit_wood.a",
  27.         },
  28.     },
  29.  
  30.     pancor_bullet_hit = {
  31.         sounds = {
  32.             {"Sounds/Bullethits/Wsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  33.             {"Sounds/Bullethits/Wsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  34.             {"Sounds/Bullethits/Wsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  35.             {"Sounds/Bullethits/Wsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  36.             },
  37.         
  38.         decal = { 
  39.             texture = System:LoadTexture("Textures/Decal/wood.dds"),
  40.             scale = 0.04,
  41.                 },
  42.         particleEffects = {
  43.             name = "bullet.hit_wood_pancor.a",
  44.                 }, 
  45.     },
  46.  
  47.     flashgrenade_hit =         
  48.     {
  49.             particles = 
  50.         {
  51.             { 
  52.                 focus = 0.5,
  53.                 color = {1,1,1},
  54.                 speed = 8.0, --default 5
  55.                 count = 120, --default 75
  56.                 size = 0.1, 
  57.                 size_speed=0,
  58.                 gravity = {x = 0.0, y = 0.0, z = -8},
  59.                 rotation = {x = 0.0, y = 0.0, z = 20},
  60.                 lifetime=2.00,
  61.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  62.                 tail_length = 0.0,
  63.                 frames=1,
  64.  
  65.             },
  66.         },
  67.     },
  68.     projectile_hit =     {
  69.     
  70.         particleEffects = {
  71.             name = "explosions.rocket.a",
  72.         },    
  73.             particles = 
  74.         {
  75.             { 
  76.                 focus = 0.5,
  77.                 color = {1,1,1},
  78.                 speed = 8.0, --default 5
  79.                 count = 120, --default 75
  80.                 size = 0.1, 
  81.                 size_speed=0,
  82.                 gravity = {x = 0.0, y = 0.0, z = -8},
  83.                 rotation = {x = 0.0, y = 0.0, z = 20},
  84.                 lifetime=2.00,
  85.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  86.                 tail_length = 0.0,
  87.                 frames=1,
  88.  
  89.             },
  90.         },
  91.     },
  92.     mortar_hit = CommonEffects.common_mortar_hit,
  93.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  94.  
  95.     grenade_hit = CommonEffects.common_grenade_hit,
  96.     melee_slash = {
  97.         sounds = {
  98.             {"sounds/weapons/machete/machetewood1.wav",SOUND_UNSCALABLE,185,5,30},
  99.             {"sounds/weapons/machete/machetewood2.wav",SOUND_UNSCALABLE,185,5,30},
  100.             {"sounds/weapons/machete/machetewood3.wav",SOUND_UNSCALABLE,185,5,30},
  101.         },
  102.         particles =  CommonEffects.common_machete_hit_wood_part.particles,
  103.     },
  104. -------------------------------------
  105.     player_walk = CommonEffects.player_wood_walk,
  106.     player_run = CommonEffects.player_wood_run,
  107.     player_crouch = CommonEffects.player_wood_crouch,
  108.     player_prone = CommonEffects.player_wood_prone,
  109.     player_walk_inwater = CommonEffects.player_walk_inwater,
  110.     
  111.     player_drop = {
  112.         sounds = {
  113.             {"sounds/player/bodyfalls/bodyfallwood1.wav",SOUND_UNSCALABLE,210,10,150},
  114.         },
  115. --        decal = { 
  116. --            texture = System:LoadTexture("Textures/Decal/Default.tga"),
  117. --            scale = 0.1,
  118. --        },
  119.     },
  120.     gameplay_physic = {
  121.         piercing_resistence = 5,
  122.         friction = 0.5,
  123.         bouncyness= 0.05, --default 0
  124.     },
  125.  
  126.     AI = {
  127.         fImpactRadius = 5,
  128.     },
  129.             
  130. }